﻿using Microsoft.Extensions.Localization;
using ATNetFramework.BDC.Localization;
using Volo.Abp.Ui.Branding;
using Volo.Abp.DependencyInjection;

namespace ATNetFramework.BDC.Web;

[Dependency(ReplaceServices = true)]
public class BDCBrandingProvider : DefaultBrandingProvider
{
    private IStringLocalizer<BDCResource> _localizer;

    public BDCBrandingProvider(IStringLocalizer<BDCResource> localizer)
    {
        _localizer = localizer;
    }

    public override string AppName => _localizer["AppName"];
}
